
import http from './http'

const setPaybase = async(value) =>{
    return await http.fetchPost('/api/pay/setPaybase', {value})
}

const getPaybase = async(value) => {
    return await http.fetchGet('/api/pay/paybase')
}

const setDetail = async(value) => {
    return await http.fetchPost('/api/pay/setDetail', {value})
}

const getDetail = async(value) => {
    return await http.fetchGet('/api/pay/detail')
}

export default {
    setPaybase,
    getPaybase,
    setDetail,
    getDetail,
}